Skip to content

Comments

Fix that CI checks are not running in merge queue#62

Merged
nhorton merged 2 commits intomainfrom
claude/debug-merge-queue-ci-phpV5
Jan 17, 2026
Merged

Fix that CI checks are not running in merge queue#62
nhorton merged 2 commits intomainfrom
claude/debug-merge-queue-ci-phpV5

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Jan 17, 2026

CI checks that run in the PR don't run when it goes to the merge queue.

@nhorton nhorton changed the title Claude/debug merge queue ci php v5 Fix that CI checks are not running in merge queue Jan 17, 2026
@nhorton nhorton requested a review from Copilot January 17, 2026 23:22
GitHub has a known bug where PRs that are up-to-date with the target
branch may trigger fast-forward merges. When this happens, GitHub looks
for check statuses on the PR commit instead of triggering merge_group
workflows.

Previously, claude-code-test.yml had different job names for PR vs
merge_group events:
- pr-check: ran on pull_request
- validate-generation: ran only on merge_group
- claude-code-e2e: ran only on merge_group

When GitHub's fast-forward optimization kicked in, it couldn't find
validate-generation or claude-code-e2e checks on the PR commit because
those jobs never ran for PRs.

Fix: Make validate-generation and claude-code-e2e run on BOTH events,
with step-level conditions to skip actual work on PRs. This ensures
the check names exist for PRs, working around GitHub's merge queue bug.

See: https://github.com/orgs/community/discussions/151100
Simplify merge_group triggers by removing the explicit types filter.
Since checks_requested is the only activity type for merge_group,
omitting it should have the same effect. This eliminates a potential
source of issues with the event not being recognized.
@nhorton nhorton force-pushed the claude/debug-merge-queue-ci-phpV5 branch from bef2f54 to 51183ad Compare January 17, 2026 23:24
@nhorton nhorton merged commit 8592e2b into main Jan 17, 2026
4 checks passed
@nhorton nhorton deleted the claude/debug-merge-queue-ci-phpV5 branch January 17, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants